import service from "@/utils/request"

export function registerApi (data) {
    return service.request({
        method: "post",
        url: "/register/",
        data
    })
}

export function loginApi (data) {
    return service.request({
        method: "post",
        url: "/login/",
        data
    })
}

